package cn.dckeji.gameBox.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2018-08-20
 */
@TableName("game_startgamelog")
public class Startgamelog extends Model<Startgamelog> {

    private static final long serialVersionUID = 1L;

    /**
     * 启动游戏日志编号
     */
    private Integer id;
    /**
     * 游戏名称
     */
    private String gameName;
    /**
     * 登录时间
     */
    private Date loginTime;
    /**
     * 游戏编号
     */
    private Integer gameId;
    /**
     * 微信openId
     */
    private String  openId;

    @Override
    public String toString() {
        return "Startgamelog{" +
                "id=" + id +
                ", gameName='" + gameName + '\'' +
                ", loginTime=" + loginTime +
                ", gameId=" + gameId +
                ", openId=" + openId +
                '}';
    }

    public Integer getGameId() {
        return gameId;
    }

    public void setGameId(Integer gameId) {
        this.gameId = gameId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
